﻿using System.Configuration;

namespace Expect.Core.Config
{
    /// <summary>
    /// Bloc element for reporting
    /// </summary>
    public class ReportBlocElement : ConfigurationElement
    {
        /// <summary>
        /// Gets the Name setting.
        /// </summary>
        [ConfigurationProperty("stylename", IsRequired = true)]
        public string StyleName
        {
            get { return (string)base["stylename"]; }
        }

        /// <summary>
        /// Gets the Name setting.
        /// </summary>
        [ConfigurationProperty("starttoken", IsRequired = true)]
        public string StartToken
        {
            get { return (string)base["starttoken"]; }
        }

        /// <summary>
        /// Gets the Name setting.
        /// </summary>
        [ConfigurationProperty("endtoken", IsRequired = true)]
        public string EndToken
        {
            get { return (string)base["endtoken"]; }
        }
    }
}
